Integrand size = 26, antiderivative size = 99 \[ \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx=\frac {b f p q (g+h x)^{2+m} \operatorname {Hypergeometric2F1}\left (1,2+m,3+m,\frac {f (g+h x)}{f g-e h}\right )}{h (f g-e h) (1+m) (2+m)}+\frac {(g+h x)^{1+m} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 99, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {2442, 70, 2495} \[ \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx=\frac {(g+h x)^{m+1} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (m+1)}+\frac {b f p q (g+h x)^{m+2} \operatorname {Hypergeometric2F1}\left (1,m+2,m+3,\frac {f (g+h x)}{f g-e h}\right )}{h (m+1) (m+2) (f g-e h)} \]
[In]
[Out]
Rule 70
Rule 2442
Rule 2495
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int (g+h x)^m \left (a+b \log \left (c d^q (e+f x)^{p q}\right )\right ) \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right ) \\ & = \frac {(g+h x)^{1+m} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)}-\text {Subst}\left (\frac {(b f p q) \int \frac {(g+h x)^{1+m}}{e+f x} \, dx}{h (1+m)},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right ) \\ & = \frac {b f p q (g+h x)^{2+m} \, _2F_1\left (1,2+m;3+m;\frac {f (g+h x)}{f g-e h}\right )}{h (f g-e h) (1+m) (2+m)}+\frac {(g+h x)^{1+m} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)} \\ \end{align*}
Time = 0.08 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.87 \[ \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx=\frac {(g+h x)^{1+m} \left (a+\frac {b f p q (g+h x) \operatorname {Hypergeometric2F1}\left (1,2+m,3+m,\frac {f (g+h x)}{f g-e h}\right )}{(f g-e h) (2+m)}+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)} \]
[In]
[Out]
\[\int \left (h x +g \right )^{m} \left (a +b \ln \left (c \left (d \left (f x +e \right )^{p}\right )^{q}\right )\right )d x\]
[In]
[Out]
\[ \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx=\int { {\left (b \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) + a\right )} {\left (h x + g\right )}^{m} \,d x } \]
[In]
[Out]
Exception generated. \[ \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx=\text {Exception raised: HeuristicGCDFailed} \]
[In]
[Out]
\[ \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx=\int { {\left (b \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) + a\right )} {\left (h x + g\right )}^{m} \,d x } \]
[In]
[Out]
\[ \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx=\int { {\left (b \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) + a\right )} {\left (h x + g\right )}^{m} \,d x } \]
[In]
[Out]
Timed out. \[ \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx=\int {\left (g+h\,x\right )}^m\,\left (a+b\,\ln \left (c\,{\left (d\,{\left (e+f\,x\right )}^p\right )}^q\right )\right ) \,d x \]
[In]
[Out]